package com.youfang.sixthmedia.message.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import android.net.Uri;

public class DetailBuilding extends Building {

	public static final String NOT_COLLECTED = "0";
	public static final String COLLECTED = "1";

	public static final String NOT_GROUPONED = "0";
	public static final String GROUPONED = "1";

	public long opentime;

	public String special;
	public String surroundbusi;
	public String Surroundtraffic;
	public String Consultantname;
	public String Consultantemail;
	public String Consultantphone;
	public String isverify;
	public String adviserlevel;
	public String introduce;
	public String photourl;
	public String dev;
	public String gratiamsg;
	public String privilegedesc;
	public String buildingdetail;

	public String[] photos;

	public String iscollect;
	public String isgroupon;

	// only existed in nearby activity
	public double distance;

	public List<PhotoItem> items = new ArrayList<PhotoItem>();

	public boolean isCollected() {
		return "1".equals(iscollect);

	}

	public boolean isGroupOned() {

		return "1".equals(isgroupon);
	}

	public static class PhotoItem implements Serializable {
		public String url;
		public transient Uri localURI;

	}

}
